﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;

namespace Demo0616
{
    class StuNum : IComparer<Student>
    {
        //学生学号
        public int Compare(Student x,Student y)
        {
            return x.Num.CompareTo(y.Num);
        }
    }
}
